package DB;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.HashMap;
import java.util.List;
public interface RmiInterface extends Remote {
	public void connect(String dbType,String host,String port,String dbName,String usr,String pwd) throws RemoteException;
	public void close() throws RemoteException;
	public List getSearchResult(String sql)throws RemoteException;
	public boolean manipulate(HashMap<String, Object> sql)throws RemoteException;
}